package com.kk.xhr.model.dto;

import com.kk.xhr.common.pojo.AppraiseResultEnum;
import com.kk.xhr.common.pojo.BinaryEnum;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * 考评dto
 *
 * @author kkmystery
 * @version 1.0 2021/3/6
 * @since 1.0.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class AppraiseDTO {
    /** 主键id */
    private Long id;
    /** 用户id */
    private Long userId;
    /** 考评日期 */
    private LocalDateTime appraiseDate;
    /** 考评结果：0=A,1=B,2=C,3=D */
    private AppraiseResultEnum result;
    /** 考评内容 */
    private String content;
    /** 备注 */
    private String remark;
    /** 状态 */
    private BinaryEnum status;
    /** 创建时间 */
    private LocalDateTime created;
    /** 更新时间 */
    private LocalDateTime updated;
}
